
//
//  TouchView.m
//  03-UIResponder
//
//  Created by GivenBmli on 16/7/18.
//  Copyright © 2016年 GivenBmli. All rights reserved.
//

#import "TouchView.h"
#import "UIWindow+TochEvent.h"

@implementation TouchView
// 继承与UIResponder
// AppDelegate UIView UIViewController
//点击
- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    NSLog(@"self.view = %@", self.nextResponder);
    NSLog(@"View = %@", self.nextResponder.nextResponder);
    NSLog(@"wingdonw = %@", self.nextResponder);
    NSLog(@"UPleke  = %@", self.nextResponder.nextResponder.nextResponder.nextResponder.nextResponder.nextResponder.nextResponder.nextResponder);
    
//    [super touchesBegan:touches withEvent:event];
//    NSLog(@"%@----------%s",[self class], __FUNCTION__);
    
}
//
////点击滑动
//- (void)touchesMoved:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
//    NSLog(@"M:%@----------%s",[self class], __FUNCTION__);
//}
//// 松开
//- (void)touchesEnded:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
//    NSLog(@"E:%@----------%s",[self class], __FUNCTION__);
//}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
